home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor1
/
copyrom.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
2KB
|
77 lines
COPYROM.LIB
Author: [burhan h. afandi]
Date: Sun Jul 07 1991
COPYROM is a library which enables you to copy ROM to RAM. You can send the
contents of a ROM card directly to a PC for storage, or copy the contents to a
port on your calculator. COPYROM allows you to copy an entire port (ROM or
RAM) or just a selected number of files.
==========STORAGE ON A COMPUTER DISK=============
(COPY TO PC) COMMAND:->->PC
If the argument is a number (0,1 or 2) the entire given port is copied.
If the argument is a library identifier (:port#:library#) only the identified
library is copied.
If the argument is a list of library identifiers, only the files in the list
are copied.
===========COPY TO STACK=====================
(COPY TO STACK) COMMAND: STK
This command takes the same arguments as ->->PC, however, the result is
returned to stack.
==============COPY TO PORT===================
(COPY TO PORT) COMMAND: PORT
This command takes an additional argument in level one which is the port# to
which you want to copy the files.
So this command takes two arguments:
The level two argument may be a library identifier (:port#:library#), or a list
of library identifiers, or a port#(0,1 or 2). The level one argument must be a
number (0, 1 or 2) (this is the port number to which you want to copy the
files).
EXAMPLE: Let us assume that we have a ROM card in port #2 and we want to copy
this ROM card to a RAM card located in port #1.
solution:
simply Enter the source port (2)
then the destination port(1)
implement port to copy port 2 to port one
summary:
2 [ENTER]
1 [ENTER]
Now press the key labeled { PORT }
The contents of port 2 are copied to port 1.
This command also accepts a list containing two port #s as an argument.
In the above example we could also have entered {2 1} as an argument where the
first element of the list is the source port# and the second is the destination
port#.
==============ATTACHING COPY-ROM=================
Transfer the library to your calculator. Press [VAR] [COPYROM].
COPYROM.LIB will appear on the stack. Store it in a port as follows:
0 [STO] or 1 [STO] or 2 [STO]
Turn your calculator OFF and then ON. The library will attach itself.